package com.example.labtest.dao;

import com.example.labtest.domain.Admin;
import com.example.labtest.domain.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdminRepository extends JpaRepository<Admin,Long> {
    

    public List<Admin>findByAdmnameAndAdmpsw(String admname,String admpsw);

//    Page<Student>update(String sname, Pageable pageable);
//    Page<Student>insert(String sname, Pageable pageable);
//    Page<Student>save(Student student, Pageable pageable);


}







